<%--
  Created by IntelliJ IDEA.
  User: stone
  Date: 2021/10/12
  Time: 15:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="/file/upload" method="post" enctype="multipart/form-data">
    <%--input标签的name属性：就是请求参数名--%>
    <input type="file" name="file"><br>
    <input type="text" name="username"><br>
    <input type="submit">
</form>
<hr>
<form action="/file/list/upload" method="post" enctype="multipart/form-data">
    <%--input标签的name属性：就是请求参数名--%>
    <input type="file" multiple name="files"><br>
    <input type="text" name="username"><br>
    <input type="submit">
</form>
</body>
</html>
